﻿//Write a boolean expression for finding if the bit 3 
//(counting from 0) of a given integer is 1 or 0.

using System;

namespace FindBit3
{
    class ThirdBit
    {
        static void Main()
        {
            Console.Write("Please enter a number:");
            int a = int.Parse(Console.ReadLine());

            byte b = 8;

            bool checkBit = (a & b) != 0;

            Console.WriteLine(checkBit);
        }
    }
}
